<?php

define('IN_ECS', true);
define('INIT_NO_SMARTY',true);

require(dirname(__FILE__) . '/includes/init.php');
require(ROOT_PATH . 'includes/cls_captcha.php');

$img = new captcha(ROOT_PATH . 'data/captcha/',$_CFG['captcha_width'],$_CFG['captcha_height']);
@ob_end_clean();

if(isset($_REQUEST['is_login']))
{
	$img->session_word = 'captcha_login';
}
$img->generate_image();

